From 019c35ae03461f2b197c6248007bedcdcf256b9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jarom=C3=ADr=20Mike=C5=A1?= Date: Sun, 15 Jan 2017 17:51:32 +0000 Subject: [PATCH] Import giada_0.13.2~dfsg1-1.debian.tar.xz [dgit import tarball giada 0.13.2~dfsg1-1 giada_0.13.2~dfsg1-1.debian.tar.xz] --- README.source | 36 +++++++ changelog | 154 ++++++++++++++++++++++++++++++ compat | 1 + control | 43 +++++++++ copyright | 97 +++++++++++++++++++ gbp.conf | 3 + giada.1 | 35 +++++++ giada.desktop | 11 +++ giada.lintian-overrides | 2 + giada.manpages | 1 + giada.svg | 35 +++++++ git-tuneclone.sh | 35 +++++++ install | 2 + patches/02-rtmidi-pkgconfig.patch | 48 ++++++++++ patches/series | 1 + rules | 32 +++++++ source/format | 1 + watch | 3 + 18 files changed, 540 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 giada.1 create mode 100644 giada.desktop create mode 100644 giada.lintian-overrides create mode 100644 giada.manpages create mode 100644 giada.svg create mode 100755 git-tuneclone.sh create mode 100644 install create mode 100644 patches/02-rtmidi-pkgconfig.patch create mode 100644 patches/series create mode 100755 rules create mode 100644 source/format create mode 100644 watch diff --git a/README.source b/README.source new file mode 100644 index 0000000..b216add --- /dev/null +++ b/README.source @@ -0,0 +1,36 @@ +repacking upstream sources +-------------------------- + +The originall tarball has been repacked to remove files with unfriendly +licences. These files are related to VST plugins and Windows. +The Debian package is built without VST support. + +Upstream also bundles the 'JUCE' framework which is available as a Debian +package (and only used for VST support). Therefore it has been stripped away as +well. + +Upstream also bundles a slightly modified version ofo RtAudio. +Since upstream relies on their modifications, we are using the bundled version +(rather than the system provided package!) + +Files stripped away are enumerated in the Files-Excluded stanza in +debian/copyright. + + +git-tuneclone.sh +---------------- + +This package comes with a script 'debian/git-tuneclone.sh'. +Running it after a fresh clone of the packaging repository +will fine-tune your local copy, namely: +- make git ignore any .pc/ directory (created by quilt) +- enable the "-follow-tags" when running 'git-push', so it's harder + to forget to push packaging tags along with the branches. +- do an initial checkout of the 3 packaging branches (master, pristine-tar, + upstream) +The script only needs to run once (though running it multiple times shouldn't +matter). +You are of course free to *not* run the script, if you prefer. + + -- IOhannes m zmölnig (Debian/GNU) Tue, 11 Nov 2015 11:11:03 +0100 + diff --git a/changelog b/changelog new file mode 100644 index 0000000..790afb8 --- /dev/null +++ b/changelog @@ -0,0 +1,154 @@ +giada (0.13.2~dfsg1-1) unstable; urgency=medium + + * Remove more files on repack. + * New upstream version 0.13.2~dfsg1 + * Patches deleted/refreshed. + * Clean up rules file. + * Remove B-D dh_autoreconf. + * Update copyright file. + * Sign tags. + * Install only svg icon. + + -- Jaromír Mikeš Sun, 15 Jan 2017 18:51:32 +0100 + +giada (0.13.1~dfsg1-1) unstable; urgency=medium + + * New upstream version 0.13.1~dfsg1 + * Patch refreshed. + * Set dh/compat 10. + * Add patch to fix FTBFS. + + -- Jaromír Mikeš Mon, 21 Nov 2016 09:32:55 +0100 + +giada (0.13.0~dfsg1-1) unstable; urgency=medium + + * New upstream version 0.13.0~dfsg1 + * Refresh patch. + * Drop patches applied upstream. + + -- Jaromír Mikeš Fri, 02 Sep 2016 01:35:02 +0200 + +giada (0.12.2~dfsg1-3) unstable; urgency=medium + + * Add patch to build with gcc6 (Closes: ##831183). + * Numbering patches. + * Tune .gitignore file. + + -- Jaromír Mikeš Mon, 25 Jul 2016 01:09:36 +0200 + +giada (0.12.2~dfsg1-2) unstable; urgency=medium + + * Add patch to build with new rtmidi lib. (Closes: #828955) + Thanks to James Cowgill + + -- Jaromír Mikeš Mon, 04 Jul 2016 16:03:13 +0200 + +giada (0.12.2~dfsg1-1) unstable; urgency=medium + + * Imported Upstream version 0.12.2~dfsg1 + * Patch refreshed. + * Update copyright file. + * Fix hardening. + * Add overrides file. + + -- Jaromír Mikeš Wed, 22 Jun 2016 14:41:40 +0200 + +giada (0.12.1~dfsg1-1) unstable; urgency=medium + + * Imported Upstream version 0.12.1~dfsg1 + * Dropped embedded copy of non-free ASIO SDK in rtaudio-mod + that had accidentally crept in with 0.11.0 (Closes: #823318) + * Dropped patches applied upstream. + * Dropped references to JUCE + * Bumped to standards version 3.9.8 + + -- IOhannes m zmölnig (Debian/GNU) Tue, 17 May 2016 15:54:31 +0200 + +giada (0.11.2~dfsg-1) unstable; urgency=medium + + * Imported Upstream version 0.11.2~dfsg + + * File-Exclude bundled libraries + * Explain repacking in detail + * Simplified get-orig-source rule + * Added repack-suffix to debian/watch + * Refreshed patches + * Skip tests that require missing files + * Clean up in rtaudio-mod directory + * Use https:// in Vcs-Git stanza + * Bumped standards to 3.9.7 + + -- IOhannes m zmölnig (Debian/GNU) Tue, 16 Feb 2016 15:39:16 +0100 + +giada (0.11.0~dfsg1-1) unstable; urgency=medium + + * Imported Upstream version 0.11.0~dfsg1 + * Patch applied upstream. + * Add libjansson-dev as build dep. + + -- Jaromír Mikeš Wed, 02 Dec 2015 09:45:41 +0100 + +giada (0.10.2~dfsg1-2) unstable; urgency=medium + + * unit-tests + * Made tests failing more verbosely + * Set ${HOME} to /tmp + * debian/README.source + * Documented git-tuneclone.sh + * Fixed typos + + -- IOhannes m zmölnig (Debian/GNU) Mon, 23 Nov 2015 00:15:05 +0100 + +giada (0.10.2~dfsg1-1) unstable; urgency=medium + + [ Jaromír Mikeš ] + * Imported Upstream version 0.10.2~dfsg1 + + [ IOhannes m zmölnig ] + * Enable C++11 to prevent FTBFS in tests + * Made build reproducible + * Patch to allow setting of DATE in about-dialog + * Set BUILD_DATE to date from debian/changelog + * Removed giada.menu + (in response to the tech-ctte decision on #741573) + * Updated debian/copyright + * Updated Vcs-Browser stanza + * Added debian/git-tuneclone.sh script + + -- IOhannes m zmölnig (Debian/GNU) Fri, 06 Nov 2015 22:28:02 +0100 + +giada (0.10.1~dfsg1-1) unstable; urgency=medium + + * Imported Upstream version 0.10.1~dfsg1 + * Remove patch - apllied upstream. + * Refresh patch. + * Upstream build changed - tune rules file accordingly. + * Update copyright file. + + -- Jaromír Mikeš Thu, 03 Sep 2015 03:43:59 +0200 + +giada (0.10.0~dfsg1-1) unstable; urgency=medium + + * Imported Upstream version 0.10.0~dfsg1 + * Patches refreshed. + * Added spelling patch. + + -- Jaromír Mikeš Tue, 07 Jul 2015 14:40:16 +0200 + +giada (0.9.6~dfsg1-3) unstable; urgency=medium + + * Fixed FTBFS due to parenthesization (Closes: #791544) + + -- IOhannes m zmölnig (Debian/GNU) Tue, 07 Jul 2015 11:20:10 +0200 + +giada (0.9.6~dfsg1-2) unstable; urgency=medium + + * Attempt to fix build on arm64 and ppc64el. + + -- Jaromír Mikeš Thu, 18 Jun 2015 09:58:19 +0200 + +giada (0.9.6~dfsg1-1) unstable; urgency=medium + + * Initial release. (Closes: Bug#786610) + + -- Jaromír Mikeš Wed, 08 Apr 2015 14:59:44 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 0000000..7c0ad27 --- /dev/null +++ b/control @@ -0,0 +1,43 @@ +Source: giada +Section: sound +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: + Jaromír Mikeš , + IOhannes m zmölnig (Debian/GNU) +Build-Depends: + debhelper (>= 10), + autotools-dev, + libsndfile1-dev (>= 1.0.25), + libsamplerate0-dev (>= 0.1.8), + libasound2 (>= 1.0.16), + libjack-dev, + libpulse-dev, + libxft2-dev, + libxpm-dev, + libxext-dev, + libfltk1.3-dev, + librtmidi-dev (>= 2.1.0~ds0), + libjansson-dev +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/giada.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/giada.git +Homepage: http://www.giadamusic.com + +Package: giada +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Recommends: + jackd +Description: Hardcore Loop Machine + free, minimal, hardcore audio tool for DJs, + live performers and electronic musicians. + Pick up your channel, fill it with samples or MIDI events + and start the show by using this tiny piece of software + as a loop machine, drum machine, sequencer, + live sampler or yet as a plugin/effect host. + . + Giada aims to be a compact and portable virtual device + for production use and live sets. diff --git a/copyright b/copyright new file mode 100644 index 0000000..5b56823 --- /dev/null +++ b/copyright @@ -0,0 +1,97 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Giada +Upstream-Contact: Giovanni A. Zuliani | Monocasual +Source: http://www.giadamusic.com +Files-Excluded: + src/deps/vst/* + src/deps/juce/* + src/deps/rtaudio-mod/include/* + .git* + .travis.yml + +Files: * +Copyright: + 2010-2015 Giovanni A. Zuliani | Monocasual +License: GPL-3+ + +Files: tests/catch.hpp +Copyright: 2012, Two Blue Cubes Ltd. +License: Boost + +Files: debian/* +Copyright: + 2015-2017 Jaromír Mikeš + 2015-2016 IOhannes m zmölnig +License: GPL-3+ + +Files: src/deps/rtaudio-mod/RtAudio.h + src/deps/rtaudio-mod/RtAudio.cpp +Copyright: + 2001-2014 Gary P. Scavone +License: MIT + +License: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. +Comment: You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +License: MIT + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + Any person wishing to distribute modifications to the Software is + asked to send the modifications to the original developer so that + they can be incorporated into the canonical version. This is, + however, not a binding provision of this license. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: Boost + Boost Software License - Version 1.0 - August 17th, 2003 + . + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + . + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..5474c60 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/giada.1 b/giada.1 new file mode 100644 index 0000000..613f76b --- /dev/null +++ b/giada.1 @@ -0,0 +1,35 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH GIADA 1 "May 23, 2015" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.IX Title "GIADA 1" +.TH giada 1 +.SH "NAME" +giada \- Hardcore Loop Machine. +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +giada +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +Free, minimal, hardcore audio tool for DJs, live performers and electronic musicians. +Pick up your channel, fill it with samples or MIDI events and start the show by using +this tiny piece of software as a loop machine, drum machine, sequencer, +live sampler or yet as a plugin/effect host. +.LP +Giada aims to be a compact and portable virtual device for production use and live sets. +.SH AUTHOR +This manual page was written by Jaromír Mikeš , +for the Debian project (but may be used by others). diff --git a/giada.desktop b/giada.desktop new file mode 100644 index 0000000..f211350 --- /dev/null +++ b/giada.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Giada +Name[es]=Giada +GenericName=Drum machine and loop sequencer +GenericName[es]=Caja de ritmos y secuenciador de loops +Icon=giada +Type=Application +Exec=giada +Terminal=false +Categories=AudioVideo;Audio;X-Digital_Processing;X-Jack;X-MIDI;Midi; +Keywords=midi;jackd;alsa;pulse;audio;sound;loop; diff --git a/giada.lintian-overrides b/giada.lintian-overrides new file mode 100644 index 0000000..1bd8b39 --- /dev/null +++ b/giada.lintian-overrides @@ -0,0 +1,2 @@ +# +giada [any] binary: spelling-error-in-copyright Boost Boost (duplicate word) Boost diff --git a/giada.manpages b/giada.manpages new file mode 100644 index 0000000..b9f9d77 --- /dev/null +++ b/giada.manpages @@ -0,0 +1 @@ +debian/giada.1 diff --git a/giada.svg b/giada.svg new file mode 100644 index 0000000..a64cac1 --- /dev/null +++ b/giada.svg @@ -0,0 +1,35 @@ + + + + + diff --git a/git-tuneclone.sh b/git-tuneclone.sh new file mode 100755 index 0000000..59ac8c6 --- /dev/null +++ b/git-tuneclone.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +## script to initialize a cloned repository +## with per (local) repository settings. + +# - ignore quilt's .pc/ directory +# - enable the "--follow-tags" mode for pushing + +error() { + echo "$@" 1>&2 +} + +NAME=$(dpkg-parsechangelog -S Source) + +if [ "x${NAME}" = "x" ]; then + error "unable to determine package name" + error "make sure you run this script within a source package dir" + exit 1 +fi + +if [ ! -d ".git" ]; then + error "it seems like this source package is not under git control" + exit 1 +fi + +echo "tuning git-repository for ${NAME}" +git config push.followTags true && echo "enabled push.followTags" + +GITEXCLUDE=".git/info/exclude" +egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \ + || (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/") + +for branch in pristine-tar upstream master; do + git checkout "${branch}" +done diff --git a/install b/install new file mode 100644 index 0000000..811fc5d --- /dev/null +++ b/install @@ -0,0 +1,2 @@ +debian/giada.desktop usr/share/applications +debian/giada.svg usr/share/icons/hicolor/scalable/apps diff --git a/patches/02-rtmidi-pkgconfig.patch b/patches/02-rtmidi-pkgconfig.patch new file mode 100644 index 0000000..3397434 --- /dev/null +++ b/patches/02-rtmidi-pkgconfig.patch @@ -0,0 +1,48 @@ +Description: build with new rtmidi lib. +Author: James Cowgill +Forwarded: + +Index: giada/Makefile.am +=================================================================== +--- giada.orig/Makefile.am ++++ giada/Makefile.am +@@ -211,9 +211,9 @@ giada_SOURCES += src/deps/rtaudio-mod/Rt + # -Wno-error=vla: mute rtAudio error on variable length array + # -Wno-error=misleading-indentation: mute JUCE warnings on GCC6 + giada_CXXFLAGS += -Wno-error=vla -Wno-error=misleading-indentation +-giada_CPPFLAGS += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ ++giada_CPPFLAGS += $(RTMIDI_CFLAGS) + giada_LDADD = -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \ +- -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \ ++ -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \ + -lfreetype + endif + +@@ -303,7 +303,7 @@ src/deps/juce/modules/juce_gui_extra/juc + endif + + giada_tests_LDADD = -ljansson -lsndfile -lsamplerate -lfltk -lXext -lX11 -lXft \ +- -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse -lrtmidi \ ++ -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse $(RTMIDI_LIBS) \ + -lfreetype + + giada_tests_CXXFLAGS = -std=c++11 +Index: giada/configure.ac +=================================================================== +--- giada.orig/configure.ac ++++ giada/configure.ac +@@ -106,13 +106,7 @@ AC_CHECK_HEADER( + ) + AC_LANG_POP + +-AC_LANG_PUSH([C++]) +-AC_CHECK_HEADER( +- [RtMidi.h], +- [], +- [AC_MSG_ERROR([library 'rtMidi' not found!])] +-) +-AC_LANG_POP ++PKG_CHECK_MODULES([RTMIDI], [rtmidi]) + + AC_LANG_PUSH([C++]) + AC_CHECK_HEADER( diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..bfef84f --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +02-rtmidi-pkgconfig.patch diff --git a/rules b/rules new file mode 100755 index 0000000..612807e --- /dev/null +++ b/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +DATE := $(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d") + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +CPPFLAGS+=-DBUILD_DATE='"$(DATE)"' +CXXFLAGS+=-std=c++11 + +%: + dh $@ + +override_dh_autoreconf: + ./autogen.sh + dh_autoreconf + +override_dh_auto_configure: + dh_auto_configure -- --target=linux + +override_dh_auto_test: + @echo home: $(HOME) + HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false) + +override_dh_auto_clean: + dh_auto_clean + test -e src/deps/rtaudio-mode/Makefile && make -C src/deps/rtaudio-mod/ distclean || true + +## all the file-exclusion magic is handled by debian/copyright +get-orig-source: + uscan --download diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..6a430d9 --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts=repacksuffix=~dfsg1,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/giada-$1\.tar\.gz/,uversionmangle=s/-rc/~rc/,dversionmangle=s/~dfsg.*// \ + https://github.com/monocasual/giada/tags .*/v?(\d\S*)\.tar\.gz -- 2.30.2